<?php

include '../include/init.php';

$uid=$_POST['u'];
$type=$_POST['t'];
$comet=new cometModel();

if($type=="g60")
{
	$start=$_POST['s'];
	$fid=$_POST['f'];

	$cms=$comet->getboth($uid,$fid,$start);
	if(!empty($cms))
	{
		die(json_encode($cms));
	}
	die(json_encode(false));
}